<?php
class DashBoardController extends CBaseController
{
	
	protected $validator;
	
	public function __construct(&$config=null) 
    { 
      parent::__construct($config);	  
    } 
	
	public function init($tpl)
	{
		parent::init($tpl);
		$this->reqLogin();
		$this->templator->addViewsDir(dirname(__FILE__).'/../views');
	}
	
	
	public function home()
	{
		$this->templator->display('dashboard.html');
	}
	
	
	
}	